<table style="width: 100%;" cellpadding="0" cellspacing="0">
    <tr>
        <td>

        <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header">{language text="new_groups"}</td>
        </tr>
        </table>


        <table style="width:100%;" cellpadding="0" cellspacing="0">
        <tr>
        <td style="font-size:9pt;" class="color">
        {foreach from=$aNewGroups item=aItem name=aitems}
            <div>

            <table style="width:100%;" cellspacing="0" cellpadding="4">
            <tr>
            <td style="font-size:7pt;">

                <table style="width:100%;" cellpadding="5" cellspacing="2" class="border2">
                <tr>
                    <td style="width:10%;font-size:9pt;vertical-align:top;" class="color">

                    <a href="{url link='public.groups.view' id=$aItem.id foxseotitle=$aItem.title}">{img max_width="50" max_height="50" alt="" src="`$sImageUrl`thumb/`$aItem.galid`.jpg" src_def="`$sImageUrl``$aItem.galid`.jpg" src_def2="design/pic/noimage_50.jpg"  border="0"}</a>

                    </td>
                    <td style="width:90%;font-size:9pt;" class="color">
                    <b><a href="{url link='public.groups.view' id=$aItem.id foxseotitle=$aItem.title}">{$aItem.title|process_code|escape:"htmlall"}</a></b>
                            <span style="font-size:8pt;">( {if $aItem.hide_group eq 'Yes'}{language text="private"}{else}{language text="public"}{/if} )</span>

                        <div style="padding-top:5px;padding-left:20px;font-size:8pt;">
                            {language text="created_by"}: <a href="{url link='public.user' name=$aItem.user}">{$aItem.user}</a>  {language text="on"} {$aItem.time|date_format:$sMonthDateFormat}
                        </div>

                        <div style="padding:8px;font-size:8pt;">
                            {$aItem.headline|process_code}
                            <div style="text-align:right;padding-top:7px;">
                            {if !$aItem.is_user}<a class="link_action" href="{url link='public.groups.join id=$aItem.id}">[ {language text="join_930"} ]</a>{/if}
                                <a class="link_action" href="{url link='public.groups.view' id=$aItem.id foxseotitle=$aItem.title}">[ {language text="view_931"} ]</a>
                            </div>
                        </div>
                    </td>
                </tr>
                </table>
            </td>
            </tr>
            </table>
            </div>
        {/foreach}
        </td>
            </tr>
            </table>
</td>
</tr>
</table>